/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.rcs.servlets;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import org.rcs.servlets.utils.XMLConfig;
import org.rcs.servlets.utils.XMLFileName;

/**
 *
 * @author ruben
 */
@XMLFileName(value = "Config.xml")
@XStreamAlias(value = "Config")
public class FileServletConfig extends XMLConfig {

  @XStreamAlias(value = "ItemFactories")
  private String[] factories ;

  public FileServletConfig() {
    super(FileServletConfig.class);

    // Por defecto ponemos la de los ficheros sólo
    factories = new String[] { "org.rcs.filesystem.FileItemsFactory" } ;
  }

  public String[] getFactories() {
    return factories ;
  }
}
